package com.neu.service;

import com.neu.pojo.Cooperator;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface CooperatorService {
    List<Cooperator> queryCooperatorList(int provinceId);
    int addCooperator(Cooperator cooperator);
    int deleteCooperator(Cooperator cooperator);
    int updateCooperator(Cooperator cooperator);
    Object batchInsertCooperator(MultipartFile file,int provinceId) throws IOException;
}
